/*
 * created by yuri.
 */

package implementation.shared;

import java.io.Serializable;
import java.util.Map;

public interface IPacket extends Serializable {
	
	EPacketType getType();
	
	Map<EPacketParam,Object> getParams();
	
	Object getParam(EPacketParam paramName);
	
	void addParam(EPacketParam paramName, Object param);
	
	boolean isSuccessful();
	
	boolean isFailure();

}
